package com.qianfeng.openplatform.zuul.feign.impl;

import com.qianfeng.openplatform.zuul.feign.CacheFeign;
import org.springframework.stereotype.Component;

import java.util.Map;
import java.util.Set;

/**
 * @Author LJF
 * @Date 2020/8/5 18:48
 * @Version 1.0
 */
@Component
public class CacheFeignImpl implements CacheFeign {
    @Override
    public boolean save2Redis(String key, String value, long expireTime) throws Exception {
        return false;
    }

    @Override
    public String getFromRedis(String key) throws Exception {
        return null;
    }

    @Override
    public boolean deleteKey(String key) throws Exception {
        return false;
    }

    @Override
    public boolean expire(String key, long expireTime) throws Exception {
        return false;
    }

    @Override
    public Long getAutoIncrementId(String key) throws Exception {
        return null;
    }

    @Override
    public Set<Object> sMembers(String key) throws Exception {
        return null;
    }

    @Override
    public Long sAdd(String key, String value, long expireTime) throws Exception {
        return null;
    }

    @Override
    public Long sAdd(String key, String[] value, long expireTime) throws Exception {
        return null;
    }

    @Override
    public Long sRemove(String key, String value) throws Exception {
        return null;
    }

    @Override
    public void hSet(String key, String field, String value) throws Exception {

    }

    @Override
    public String hGet(String key, String field) throws Exception {
        return null;
    }

    @Override
    public Map<Object, Object> hGetAll(String key) throws Exception {
        return null;
    }

    @Override
    public boolean setNX(String key, String value, long expireSecond) throws Exception {
        return false;
    }

    @Override
    public boolean hMset(String key, Map<Object, Object> map) throws Exception {
        return false;
    }

    @Override
    public Set<String> findKeyByPartten(String partten) throws Exception {
        return null;
    }

    @Override
    public Long hIncrement(String key, String field, long delta) throws Exception {
        return null;
    }

    @Override
    public boolean hMset(String key, Object map) throws Exception {
        return false;
    }
}
